//
//  RequestUntitls.h
//  项目2网络封装
//
//  Created by rimi on 16/7/22.
//  Copyright © 2016年 周伦. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LStringUtils.h"


typedef enum : NSUInteger{
    ZLApRequestGet,
    ZLApRequestPost,
    
    
}ZLAPIRequestType;

typedef void(^ZLReqComletion)(id object,BOOL success);

@interface ZPZNetRequest : NSObject

+(void)sendRequestByParameters:(NSDictionary *)parameters
                        Method:(NSString *)method
                   requestType:(ZLAPIRequestType )requestType
                     Comletion:(ZLReqComletion )comletion;

+(NSDictionary *)getParametersPaeames:(NSDictionary *)paeames;
@end
